class AddValidityTypeAndDurationToProduct < ActiveRecord::Migration
  def change
    add_column :products, :validity_type, :string, default: 'forever', null: false
    add_column :products, :validity_duration, :integer
  end
end
